package com.ajzhang.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userName;
	private String userPass;
	private String nickName;
	private Boolean sex;
	private String headPhoto;
	private String address;
	private String birthday;
	private Integer score;
	private Date createDate;
	private String securityCode;
	private Set bills = new HashSet(0);
	private Set budgets = new HashSet(0);

	// Constructors

	/** default constructor */
	public UserInfo() {
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPass() {
		return this.userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Boolean getSex() {
		return this.sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public String getHeadPhoto() {
		return this.headPhoto;
	}

	public void setHeadPhoto(String headPhoto) {
		this.headPhoto = headPhoto;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBirthday() {
		return this.birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public UserInfo(Integer userId, String userName, String userPass, String nickName, Boolean sex, String headPhoto, String address, String birthday, Integer score, Date createDate, String securityCode, Set bills, Set budgets) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPass = userPass;
		this.nickName = nickName;
		this.sex = sex;
		this.headPhoto = headPhoto;
		this.address = address;
		this.birthday = birthday;
		this.score = score;
		this.createDate = createDate;
		this.securityCode = securityCode;
		this.bills = bills;
		this.budgets = budgets;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Set getBills() {
		return this.bills;
	}

	public void setBills(Set bills) {
		this.bills = bills;
	}

	public Set getBudgets() {
		return this.budgets;
	}

	public void setBudgets(Set budgets) {
		this.budgets = budgets;
	}

	public String getSecurityCode() {
		return securityCode;
	}

	public void setSecurityCode(String securityCode) {
		this.securityCode = securityCode;
	}
	

}